/**
 * 
 */
package org.rk.core.filesys.bean;

import org.rk.core.common.anno.FieldMeta;
import org.rk.core.common.bean.BaseBean;

/**
 * @author Cavion(曹仁道)
 * @类描述：文件信息对象
 * 2017年1月3日
 */
public class FileInfoBean extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@FieldMeta(name="sign",length=64,desc="文件加密值，默认md5",defaultValue="")
	private String sign;
	@FieldMeta(name="fileAbsolute",length=300,desc="文件绝对路径",defaultValue="")
	private String fileAbsolute;
	@FieldMeta(name="urlPath",length=300,desc="文件访问路径",defaultValue="")
	private String urlPath;
	@FieldMeta(name="mime",length=50,desc="文件mime",defaultValue="")
	private String mime;
	@FieldMeta(name="suffix",length=10,desc="文件后缀名",defaultValue="")
	private String suffix;
	@FieldMeta(name="simpleType",length=30,desc="简单文件类型",defaultValue="")
	private String simpleType;
	@FieldMeta(name="sourceName",length=100,desc="源文件名",defaultValue="")
	private String sourceName;
	@FieldMeta(name="newName",length=64,desc="新生成的文件名，默认上传时间+源文件名的md5码",defaultValue="")
	private String newName;
	@FieldMeta(name="size",length=20,desc="文件大小",defaultValue="")
	private Long size;
	@FieldMeta(name="saveType",length=10,desc="文件保存类型",defaultValue="")
	private String saveType;
	
	
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getFileAbsolute() {
		return fileAbsolute;
	}
	public void setFileAbsolute(String fileAbsolute) {
		this.fileAbsolute = fileAbsolute;
	}
	public String getUrlPath() {
		return urlPath;
	}
	public void setUrlPath(String urlPath) {
		this.urlPath = urlPath;
	}
	public String getMime() {
		return mime;
	}
	public void setMime(String mime) {
		this.mime = mime;
	}
	public String getSuffix() {
		return suffix;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
	public String getSimpleType() {
		return simpleType;
	}
	public void setSimpleType(String simpleType) {
		this.simpleType = simpleType;
	}
	public String getSourceName() {
		return sourceName;
	}
	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}
	public String getNewName() {
		return newName;
	}
	public void setNewName(String newName) {
		this.newName = newName;
	}
	public Long getSize() {
		return size;
	}
	public void setSize(Long size) {
		this.size = size;
	}
	public String getSaveType() {
		return saveType;
	}
	public void setSaveType(String saveType) {
		this.saveType = saveType;
	}

	
	
}
